package com.gaojiabao.panghu.data.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author gaojiabao
 * @date 14:33 2024/11/3
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("community")
public class Community {
  @TableId(value = "id",type = IdType.AUTO)
  private Long id;

  @TableField("communityName")
  private String communityName;

  @TableField("fullAddress")
  private String fullAddress;

  @TableField("simpleAddress")
  private String simpleAddress;

  @TableField("coordinate")
  private String coordinate;

  @TableField("province")
  private String province;

  @TableField("city")
  private String city;

  @TableField("district")
  private String district;

  @TableField("userNum")
  private long userNum;

  @TableField("storeNum")
  private long storeNum;

  @TableField("createTime")
  private Timestamp createTime;

  @TableField("deleteTime")
  private Timestamp deleteTime;

  private Boolean deleted;
}
